Add constructors for GdkFileList
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 28 Jul 2022 09:13:17 +0000 (10:13 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 28 Jul 2022 13:41:35 +0000 (14:41 +0100)
commitdcd549aebe2447bd5d13d3917d9d3e0cb867edcf
treec8661038d7b57f3bf1d34bc57b4deef4a22d1e81
parentf480ff2e4d4c414475fd9f6b1d1a8662bdcb7877
Add constructors for GdkFileList

C API users can keep dealing with the implicit equivalence of
GdkFileList and GSList, but language bindings have no idea that one type
is another, and none of them exposes GSList as a type anyway, so they
will need a way to construct a GdkFileList.

Instead of making GdkFileList mutable, and re-implement GSList, we only
provide a constructors pair that lets you create a GdkFileList from a
linked list or from an array.
gdk/gdkcontentformats.c
gdk/gdkcontentformats.h